//
//  CS_Page_CheckBox.h
//  Pods
//
//  Created by 网新中研 on 2017/7/28.
//
//

#import <CSUIKit/CSUIKit.h>

@class CS_Page_CheckBox;

typedef void(^SwitchOnBlock)(CS_Page_CheckBox *page_CheckBox);

typedef void(^SwitchOffBlock)(CS_Page_CheckBox *page_CheckBox);

@interface CS_Page_CheckBox : CSBaseView

@property (nonatomic, strong) NSString *title;

@property (nonatomic, assign) BOOL isChecked;

+(id)page_CheckBoxWithTitle:(NSString *)title isChecked:(BOOL)isChecked swtichOnHandler:(SwitchOnBlock)swtichOnHandler switchOffHandler:(SwitchOffBlock)swtichOffHandler;

-(void)refreshContent:(NSString *)content;

@end
                  
